package br.com.bikes4bikers.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.bikes4bikers.dao.EnderecoDAO;
import br.com.bikes4bikers.model.Endereco;
import br.com.bikes4bikers.service.EnderecoService;

@Service
public class EnderecoServiceImpl implements EnderecoService {

	@Autowired
	private EnderecoDAO enderecoDao;
	
	@Override
	public Endereco pesquisarEnderecoPorCep(String cep) {
		return enderecoDao.pesquisarEnderecoPorCep(cep);
	}

}
